/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * TelaInicial.java
 *
 * Created on 15/09/2011, 19:53:06
 */

package interfaces;


/**
 *
 * @author yuripadua
 */
public class TelaInicial extends javax.swing.JFrame {

    /** Creates new form TelaInicial */
    public TelaInicial() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenuCadastro = new javax.swing.JMenu();
        jMItemCadMiniCurso = new javax.swing.JMenuItem();
        jMItemCadWorkshop = new javax.swing.JMenuItem();
        jMItemCadAtividade = new javax.swing.JMenuItem();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuConsultar = new javax.swing.JMenu();
        jMItemConsulEvento = new javax.swing.JMenuItem();
        jMenuAjuda = new javax.swing.JMenu();
        jMItemAjuda = new javax.swing.JMenuItem();
        jMenuSobre = new javax.swing.JMenu();
        jMenuItemSobre = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(new java.awt.GridLayout(1, 0));

        jPanel1.setMinimumSize(new java.awt.Dimension(180, 180));
        jPanel1.setLayout(new java.awt.GridLayout(1, 0));
        getContentPane().add(jPanel1);

        jMenuCadastro.setText("Cadastro");

        jMItemCadMiniCurso.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_M, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        jMItemCadMiniCurso.setText("Mini-Curso");
        jMItemCadMiniCurso.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMItemCadMiniCursoActionPerformed(evt);
            }
        });
        jMenuCadastro.add(jMItemCadMiniCurso);

        jMItemCadWorkshop.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_W, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        jMItemCadWorkshop.setText("Worshop");
        jMItemCadWorkshop.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMItemCadWorkshopActionPerformed(evt);
            }
        });
        jMenuCadastro.add(jMItemCadWorkshop);

        jMItemCadAtividade.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        jMItemCadAtividade.setText("Atividade Painel");
        jMItemCadAtividade.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMItemCadAtividadeActionPerformed(evt);
            }
        });
        jMenuCadastro.add(jMItemCadAtividade);

        jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P, java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.CTRL_MASK));
        jMenuItem1.setText("Atividade Palestra");
        jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem1ActionPerformed(evt);
            }
        });
        jMenuCadastro.add(jMenuItem1);

        jMenuBar1.add(jMenuCadastro);

        jMenuConsultar.setText("Consultar");

        jMItemConsulEvento.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_E, java.awt.event.InputEvent.ALT_MASK | java.awt.event.InputEvent.SHIFT_MASK));
        jMItemConsulEvento.setText("Consultar Eventos Satélite");
        jMItemConsulEvento.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMItemConsulEventoActionPerformed(evt);
            }
        });
        jMenuConsultar.add(jMItemConsulEvento);

        jMenuBar1.add(jMenuConsultar);

        jMenuAjuda.setText("Ajuda");
        jMenuAjuda.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuAjudaActionPerformed(evt);
            }
        });

        jMItemAjuda.setText("Ajuda");
        jMItemAjuda.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMItemAjudaActionPerformed(evt);
            }
        });
        jMenuAjuda.add(jMItemAjuda);

        jMenuBar1.add(jMenuAjuda);

        jMenuSobre.setText("Sobre");

        jMenuItemSobre.setText("Sobre o software");
        jMenuItemSobre.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItemSobreActionPerformed(evt);
            }
        });
        jMenuSobre.add(jMenuItemSobre);

        jMenuBar1.add(jMenuSobre);

        setJMenuBar(jMenuBar1);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jMItemCadMiniCursoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMItemCadMiniCursoActionPerformed
        // TODO add your handling code here:
        TelaCadastroMiniCurso t = new TelaCadastroMiniCurso();
        t.setVisible(true);
    }//GEN-LAST:event_jMItemCadMiniCursoActionPerformed

    private void jMItemCadWorkshopActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMItemCadWorkshopActionPerformed
        // TODO add your handling code here:
        TelaCadastroWorkshop t = new TelaCadastroWorkshop();
        t.setVisible(true);
    }//GEN-LAST:event_jMItemCadWorkshopActionPerformed

    private void jMItemCadAtividadeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMItemCadAtividadeActionPerformed
        // TODO add your handling code here:
        TelaCadastroAtividadePainel t = new TelaCadastroAtividadePainel();
        t.setVisible(true);
    }//GEN-LAST:event_jMItemCadAtividadeActionPerformed

    private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
        // TODO add your handling code here:
        TelaCadastroAtividadePalestra t = new TelaCadastroAtividadePalestra();
        t.setVisible(true);
    }//GEN-LAST:event_jMenuItem1ActionPerformed

    private void jMItemConsulEventoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMItemConsulEventoActionPerformed
        // TODO add your handling code here:
        TelaConsulta t = new TelaConsulta();
        t.setVisible(true);
    }//GEN-LAST:event_jMItemConsulEventoActionPerformed

    private void jMenuAjudaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuAjudaActionPerformed
        // TODO add your handling code here:
        TelaAjuda t = new TelaAjuda();
        t.setVisible(true);
    }//GEN-LAST:event_jMenuAjudaActionPerformed

    private void jMenuItemSobreActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemSobreActionPerformed
        // TODO add your handling code here:
        TelaSobre t = new TelaSobre();
        t.setVisible(true);
    }//GEN-LAST:event_jMenuItemSobreActionPerformed

    private void jMItemAjudaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMItemAjudaActionPerformed
        // TODO add your handling code here:
        TelaAjuda t = new TelaAjuda();
        t.setVisible(true);
    }//GEN-LAST:event_jMItemAjudaActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new TelaInicial().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem jMItemAjuda;
    private javax.swing.JMenuItem jMItemCadAtividade;
    private javax.swing.JMenuItem jMItemCadMiniCurso;
    private javax.swing.JMenuItem jMItemCadWorkshop;
    private javax.swing.JMenuItem jMItemConsulEvento;
    private javax.swing.JMenu jMenuAjuda;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenu jMenuCadastro;
    private javax.swing.JMenu jMenuConsultar;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItemSobre;
    private javax.swing.JMenu jMenuSobre;
    private javax.swing.JPanel jPanel1;
    // End of variables declaration//GEN-END:variables

}
